package cc.rengu.redp.bizimpl.upmp.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;


/**
 * @author lizk
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("T_B_TERM_INFO")
@ApiModel(value = "BTermInfo对象", description = "")
public class BTermInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "非业务主键")
    @TableField("ID")
    private String id;

    @ApiModelProperty(value = "多法人总行机构标识")
    @TableField("INST_ID")
    private String instId;

    @ApiModelProperty(value = "商户内部编号")
    @TableField("MCHNT_NO")
    private String mchntNo;

    @TableField("TERM_PRINT_MER_NAME")
    private String termPrintMerName;

    @ApiModelProperty(value = "终端编号")
    @TableField("TERM_NO")
    private String termNo;

    @ApiModelProperty(value = "收单机构代码")
    @TableField("POS_INST_CD")
    private String posInstCd;

    @ApiModelProperty(value = "终端类型")
    @TableField("TERM_TYPE")
    private String termType;

    @ApiModelProperty(value = "终端厂商")
    @TableField("BRAND_CODE")
    private String brandCode;

    @ApiModelProperty(value = "终端机型")
    @TableField("MODEL_CODE")
    private String modelCode;

    @ApiModelProperty(value = "终端维护公司")
    @TableField("TERM_MACHINE_COMPANY")
    private String termMachineCompany;

    @TableField("START_TIME")
    private String startTime;

    @ApiModelProperty(value = "终端交易发起方式")
    @TableField("TERM_TXN_STAR_WAY")
    private String termTxnStarWay;

    @ApiModelProperty(value = "条码终端设备类型")
    @TableField("TERM_DEVC_TP")
    private String termDevcTp;

    @ApiModelProperty(value = "终端布放地区编码-省")
    @TableField("TERM_ADDR_PRVNC")
    private String termAddrPrvnc;

    @ApiModelProperty(value = "终端布放地区编码-市")
    @TableField("TERM_ADDR_CITY")
    private String termAddrCity;

    @ApiModelProperty(value = "终端布放地区编码-区县")
    @TableField("TERM_ADDR_AREA")
    private String termAddrArea;

    @ApiModelProperty(value = "布放实体店地址")
    @TableField("SHOP_ATTR")
    private String shopAttr;

    @TableField("SHOPTIME")
    private String shoptime;

    @ApiModelProperty(value = "s/n")
    @TableField("SN")
    private String sn;

    @ApiModelProperty(value = "终端联系人")
    @TableField("CONTACT_NAME")
    private String contactName;

    @ApiModelProperty(value = "终端联系电话")
    @TableField("CONTACT_PHONE")
    private String contactPhone;

    @TableField("LONGITUDE")
    private String longitude;

    @TableField("LATITUDE")
    private String latitude;

    @ApiModelProperty(value = "有效半径(千米)")
    @TableField("EFFECTIVE_RADIUS")
    private String effectiveRadius;

    @ApiModelProperty(value = "IC参数下载标示")
    @TableField("IC_DOWN_SIGN")
    private String icDownSign;

    @ApiModelProperty(value = "公钥下载标示")
    @TableField("KEY_DOWN_SIGN")
    private String keyDownSign;

    @ApiModelProperty(value = "终端签到状态")
    @TableField("TERM_SIGN_STATUS")
    private String termSignStatus;

    @ApiModelProperty(value = "是否自动签退")
    @TableField("AUTO_SIGNOUT_FLAG")
    private String autoSignoutFlag;

    @TableField("MPOS_INST_ID")
    private String mposInstId;

    @TableField("BATHC_SETTLE_NUM")
    private String bathcSettleNum;

    @ApiModelProperty(value = "银联报备状态")
    @TableField("CUPS_REPORT_STATUS")
    private String cupsReportStatus;

    @TableField("CUPS_REPORT_TIME")
    private String cupsReportTime;

    @ApiModelProperty(value = "银联报备拒绝原因")
    @TableField("CUPS_REFUSE_REASON")
    private String cupsRefuseReason;

    @ApiModelProperty(value = "审批拒绝原因")
    @TableField("AUDIT_REFUSE_REASON")
    private String auditRefuseReason;

    @ApiModelProperty(value = "？？")
    @TableField("TERM_STATUS")
    private String termStatus;

    @ApiModelProperty(value = "审批状态")
    @TableField("AUDIT_STATUS")
    private String auditStatus;

    @ApiModelProperty(value = "创建机构")
    @TableField("CRT_ORG_ID")
    private String crtOrgId;

    @ApiModelProperty(value = "创建人")
    @TableField("OPR_ID")
    private String oprId;

    @ApiModelProperty(value = "创建时间戳")
    @TableField("CREATE_TIME")
    private String createTime;

    @TableField("LAST_OPR_ID")
    private String lastOprId;

    @ApiModelProperty(value = "最后修改时间戳")
    @TableField("LAST_UPDATE_TIME")
    private String lastUpdateTime;

    @TableField("LAST_AUDIT_ID")
    private String lastAuditId;

    @TableField("LAST_AUDIT_TIME")
    private String lastAuditTime;

    @ApiModelProperty(value = "代付pos认证状态 ")
    @TableField("REPAY_AUTH_STATUS")
    private String repayAuthStatus;

    @ApiModelProperty(value = "代付pos支付密码")
    @TableField("TRANS_PASSWORD")
    private String transPassword;

    @ApiModelProperty(value = "代付pos用户最后支付日期")
    @TableField("LAST_PAY_DATE")
    private String lastPayDate;

    @ApiModelProperty(value = "代付pos连续密码错误次数")
    @TableField("PASSWORD_ERROR_TIMES")
    private Integer passwordErrorTimes;

    @TableField("REPAY_LIMIT_AMT")
    private String repayLimitAmt;

    @ApiModelProperty(value = "代付pos剩余额度")
    @TableField("REMAIN_LIMIT_AMT")
    private String remainLimitAmt;

    @ApiModelProperty(value = "代付pos验密偏移值")
    @TableField("PASSWORD_OFFSET_VALUE")
    private String passwordOffsetValue;

    @ApiModelProperty(value = "备用字段1")
    @TableField("RESERVE1")
    private String reserve1;

    @ApiModelProperty(value = "备用字段2")
    @TableField("RESERVE2")
    private String reserve2;

    @ApiModelProperty(value = "备用字段3")
    @TableField("RESERVE3")
    private String reserve3;

    @ApiModelProperty(value = "备用字段4")
    @TableField("RESERVE4")
    private String reserve4;

    @ApiModelProperty(value = "备用字段5")
    @TableField("RESERVE5")
    private String reserve5;

    @ApiModelProperty(value = "备用字段6")
    @TableField("RESERVE6")
    private String reserve6;

    @ApiModelProperty(value = "备用字段7")
    @TableField("RESERVE7")
    private String reserve7;

    @ApiModelProperty(value = "备用字段8")
    @TableField("RESERVE8")
    private String reserve8;

    @ApiModelProperty(value = "备用字段9")
    @TableField("RESERVE9")
    private String reserve9;

    @TableField(exist = false)
    private String keyDownFlag;

    @TableField(exist = false)
    private String posInst;

    @TableField(exist = false)
    private String singleLimitMaxAmt;

    @TableField(exist = false)
    private String dayLimitAmt;

}
